package Java9_16;

public class Work1Test {
    public static void main(String[] args) {
        Work1 d1 = new Work1();
        Work1 d2 = new Work1();
        d1.boo = true;
        d2.boo = false;
        Thread t1 = new Thread(d1);
        Thread t2 = new Thread(d2);
        t1.start();
        t2.start();

    }
}
